MCQ Answer

Which of the following Python statements will result in the output: 6?

  A = [[1, 2, 3],       [4, 5, 6],       [7, 8, 9]]

Which of the following Python statements will result in the output: 6?

  A = [[1, 2, 3],       [4, 5, 6],       [7, 8, 9]]


निम्नलिखित Python में से कौन सा स्टेट्मेंट आउटपुट में रिजल्ट देगा: 6?
Topic : Sequence data types in python

A. A[2][3]

B. A[2][1]

C. A[1][2]

D. A[3][2]




Correct Answer is :

C. A[1][2]



Explanation
The output that is required is 6, that is, row 2, item 3. This position is represented by the statement: A[1][2].
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz